package comp9417;

/**
 * Created by huy on 20/05/14.
 */
public class DataPoint {
    private final Object[] values;

    public DataPoint(int numberOfAttributes) {
        values = new Object[numberOfAttributes];
    }

    public void addValue(int index, Object value) {
        values[index] = value;
    }

    public Object[] getValues() {
        return values;
    }

}
